package com.systemframework.sys.entity;


import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@TableName("sys_operate")
@Data
public class SysOperate implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;


    private Integer userId;

    @TableField(value = "createTime",fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField("operate_message")
    private String operateMessage;


    private String ip;

    @TableField("user_agent")
    private String userAgent;

    @TableField("params")
    private String params;

    @TableField("method_name")
    private String methodName;

    @TableField("return_msg")
    private String returnMsg;

    @TableField("time")
    private Long time;

    @TableField("ex_message")
    private String ex;

    @TableField("model_name")
    private String modelName;
}
